<template>
  <keep-alive :include="cachedViews">
    <router-view  />
  </keep-alive>
</template>

<script>
export default {
  name: '',
  computed: {
    cachedViews() {
      return this.$store.state.tagsView.cachedViews;
    },
    key() {
      return this.$route.path;
    }
  }
};
</script>
